package com.hzdesk.media.matvector.koreabatch.client.my_paperless.fragment.Fragment_view;

import android.annotation.SuppressLint;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.hzdesk.media.matvector.koreabatch.client.my_paperless.R;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.custom_view.MyRecyclerView;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.fragment.BaseFragment;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.fragment.Fragment_persenter.DwonlaodCompletePersenter;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.fragment.fragment_contract.IDwonlaodCompleteContract;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.view.MettingSelectActivity;

/**
 * Created by Administrator on 2018/8/10.
 * 杭州席媒科技有限公司  Developers  刘传华  10
 * 佛祖镇楼 bug辟易
 *
 * 下载完成
 */

@SuppressLint("ValidFragment")
public class DwonlaodCompleteFragment extends BaseFragment implements IDwonlaodCompleteContract.IDwonlaodCompleteView {

    private MyRecyclerView my_recylerview;
    private RelativeLayout rl;
    private ImageView empty_view;
    private DwonlaodCompletePersenter  mDwonlaodCompletePersenter = new DwonlaodCompletePersenter(this);

    @Override
    protected void cancellationControls() {

    }

    @Override
    protected void initDate() {
        mDwonlaodCompletePersenter.initRecyclerview(my_recylerview,mContext);
    }

    @Override
    protected View getChildFragmentView() {
       View view =  View.inflate(mContext, R.layout.fragment_download_complete,null);
        my_recylerview = view.findViewById(R.id.fragment_download_complete_my_recylerview);
        rl = view.findViewById(R.id.my_recyclerview_empty_rl);
        empty_view = view.findViewById(R.id.iv_prompt_empty_view);
        return  view;
    }

    @Override
    protected void onClickedTvRight() {

    }

    @Override
    protected void onClickedIvRight() {

    }

    @Override
    protected void onClickedIvLeft() {

    }

    @Override
    public void toPlayVideoPager() {
       // toPageJump();
    }

    @Override
    public void toMettingSelect() {
        toPageJump(MettingSelectActivity.class);
    }
}
